﻿@model Noodles.Core.Model.Categories


        <table class="tablesorter" cellspacing="0"> 
			<thead> 
				<tr> 
   					<th colspan="2">Category Details</th>     				
				</tr> 
			</thead> 
    <tbody>
             
                        @using (Html.BeginForm("Index","Category",FormMethod.Post))
                        {
                             <tr>
                              <td>							
							 Category
                              </td> 
                              <td>
                                  @Html.TextBoxFor(m => m.CatName)						
							</td>
                            </tr>
                            <tr>
                            <td>							
								  Description
                                  </td><td>
								
							 @Html.TextAreaFor(m => m.CatDesc, new { rows = 20, cols = 25 })
											</td>	</tr>
                                    <tr>
                                    <td colspan="2">
                                  <input type="submit" id="submit" class="submit" value="Save" />
                                  </td>
                                  </tr>
							
                        }
    </tbody>
    
</table>